/* Custom Software Development Section Styles */
.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--light-text);
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--light-text);
}

.hero-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--muted-text);
    line-height: 1.6;
}

.hero-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(154, 203, 33, 0.1), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(154, 203, 33, 0.1), transparent 50%);
    pointer-events: none;
}

/* Services Section Styles */
.services-section,
.app-services-section,
.industry-solutions-section,
.support-services-section,
.ai-services-section {
    padding: clamp(3rem, 8vw, 80px) 0;
    background: var(--dark-bg);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    color: var(--muted-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layouts */
.services-grid,
.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 30px);
    padding: 0 15px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 30px);
    padding: 0 15px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 30px);
    padding: 0 15px;
}

/* Card Styles */
.service-card,
.solution-card,
.support-card,
.ai-service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 30px);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.solution-card:hover,
.support-card:hover,
.ai-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(154, 203, 33, 0.3);
}

.service-card h3,
.solution-card h3,
.support-card h3,
.ai-service-card h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    color: var(--light-text);
    line-height: 1.3;
}

.service-card p,
.solution-card p,
.support-card p,
.ai-service-card p {
    color: var(--muted-text);
    line-height: 1.6;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

/* CTA Section */
.cta-section {
    padding: clamp(3rem, 8vw, 80px) 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.3;
}

.cta-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--muted-text);
    line-height: 1.6;
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: white;
    padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(154, 203, 33, 0.3);
}

.arrow-icon {
    width: clamp(16px, 3vw, 20px);
    height: clamp(16px, 3vw, 20px);
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .services-grid,
    .ai-services-grid,
    .solutions-grid,
    .support-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .service-card,
    .solution-card,
    .support-card,
    .ai-service-card {
        padding: 20px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.solution-card,
.support-card,
.ai-service-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .solution-card,
    .support-card,
    .ai-service-card {
        animation: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (forced-colors: active) {
    .service-card,
    .solution-card,
    .support-card,
    .ai-service-card {
        border: 2px solid CanvasText;
    }
    
    .btn-primary {
        border: 2px solid CanvasText;
    }
}
/* Section Image Styles */
.section-image {
    margin: 3rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.section-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(154, 203, 33, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.section-image:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-image {
        margin: 2rem 1rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .section-image {
        margin: 1.5rem 0.5rem;
        border-radius: 8px;
    }
}
